-
Notifications
You must be signed in to change notification settings - Fork 0
+901
−1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
morga471
reviewed
Feb 27, 2025
lab/development/us-gov-east-1/vpc/platform-test-z/eks-cert-manager/terragrunt.hcl
Show resolved
Hide resolved
morga471
approved these changes
Feb 27, 2025
Comment on lines
+32
to
+54
| generate "kubectl-provider" { | ||
| path = "kubectl-provider.tf" | ||
| if_exists = "overwrite" | ||
| contents = <<-EOF | ||
| %{if dependency.eks.outputs.cluster_name != "a-cluster-name"~} | ||
| data "aws_eks_cluster" "kubectl" { | ||
| name = "${dependency.eks.outputs.cluster_name}" | ||
| } | ||
| provider "kubectl" { | ||
| apply_retry_count = 5 | ||
| host = data.aws_eks_cluster.kubectl.endpoint | ||
| cluster_ca_certificate = base64decode(data.aws_eks_cluster.kubectl.certificate_authority[0].data) | ||
| load_config_file = false | ||
| exec { | ||
| api_version = "client.authentication.k8s.io/v1beta1" | ||
| command = "aws" | ||
| args = ["eks", "get-token", "--cluster-name", "${dependency.eks.outputs.cluster_name}", "--region", "${include.root.inputs.aws_region}"] | ||
| } | ||
| } | ||
| %{endif~} | ||
| EOF | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ripped all this out Maybe needs a rebase?
| @@ -0,0 +1,198 @@ | |||
| ## eks-prometheus | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in the tfmod-prometheus repo instead of here.
lab/development/us-gov-east-1/vpc/platform-test-z/eks-tempo/terragrunt.hcl
Show resolved
Hide resolved
morga471
reviewed
Feb 27, 2025
morga471
approved these changes
Feb 27, 2025
Sign in
to join this conversation on GitHub.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.